﻿@model string
@{
    ViewBag.Title = "Panel użytkownika";
    Layout = "~/Views/Shared/_Layout.cshtml";
}



<h2>Panel uczestnika projektu @Html.Encode(Model)</h2>

<div class="Pmenu">
@Html.Partial(MVC.Shared.Views.Partials._ProjectMenuControl,
        new ITProject.WebUI.Models.Project.ProjectMenuViewModel { ProjectName = Model, Role = (ITProject.Domain.UserRole)ViewData["Role"] })
</div>



<div class="PAmenu">
@Html.Partial(MVC.Shared.Views.Partials._ProjectUserMenu, new List<string> {"PU",Model })
@*@Html.ActionLink("Zarządzaj użytkownikami",MVC.ProjectAdmin.ActionNames.ManageTeam, MVC.ProjectAdmin.Name, new { projectName = Model }, null)*@
</div>
<div class="PAplane">
@{
    var back = "background-image:url(\"";
    }

<table width="100%" style="margin-left:auto;margin-right:auto">
<tr>
<td>
@{
   var link = back + @Url.Content("~/Content/themes/Silver/Images/wymagania.png") + "\")";
}
@Html.ActionLink("test", MVC.ProjectUser.ActionNames.FunctionalRequirements, MVC.ProjectUser.Name, new { projectName = Model }, new { @class = "LinkObrazek", @style = link+";width:128px" })
</td>

<td>
@{
    link=back + @Url.Content("~/Content/themes/Silver/Images/funkcjonalne.png") + "\")";
}
@Html.ActionLink("test", MVC.ProjectUser.ActionNames.MyFeatures, MVC.ProjectUser.Name, new { projectName = Model }, new { @class = "LinkObrazek", @style = link+";width:128px" })


</td>

<td>
@{
    link=back + @Url.Content("~/Content/themes/Silver/Images/zadania.png") + "\")";
}
@Html.ActionLink("test", MVC.ProjectUser.ActionNames.MyTasks, MVC.ProjectUser.Name, new { projectName = Model }, new { @class = "LinkObrazek", @style = link+";width:128px" })


</td>


</tr>
<tr>

<td>
@{
    link = back + @Url.Content("~/Content/themes/Silver/Images/repozytorium.png") + "\")";
}
@Html.ActionLink("test", MVC.ProjectUser.ActionNames.Repository, MVC.ProjectUser.Name, new { projectName = Model }, new { @class = "LinkObrazek", @style = link+";width:128px" })
</td>
<td>
@{
    link = back + @Url.Content("~/Content/themes/Silver/Images/kalendarz.png") + "\")";
}
@Html.ActionLink("test", MVC.ProjectUser.ActionNames.ProjectCalendar, MVC.ProjectUser.Name, new { projectName = Model }, new { @class = "LinkObrazek", @style = link+";width:128px" })


</td>

<td>
@{
    link = back + @Url.Content("~/Content/themes/Silver/Images/forum.png") + "\")";
}
@Html.ActionLink("test", MVC.ProjectUser.ActionNames.Forum, MVC.ProjectUser.Name, new { projectName = Model }, new { @class = "LinkObrazek", @style = link+";width:128px" })


</td>


</tr>
</table>
</div>
<div class="clear">
</div>
